package jannex.sql;

import jannex.JannexException;

import java.util.Map;

public interface TypedArray<E> extends JxArray {

    @Override
    E[] getArray() throws JannexException;

    @Override
    E[] getArray(Map<String, Class<?>> map) throws JannexException;

    @Override
    E[] getArray(long index, int count) throws JannexException;

    @Override
    E[] getArray(long index, int count, Map<String, Class<?>> map) throws JannexException;

    @Override
    TypedResultSet<E> getResultSet() throws JannexException;

    @Override
    TypedResultSet<E> getResultSet(Map<String, Class<?>> map) throws JannexException;

    @Override
    TypedResultSet<E> getResultSet(long index, int count) throws JannexException;

    @Override
    TypedResultSet<E> getResultSet(long index, int count, Map<String, Class<?>> map) throws JannexException;

}
